package com.eastseeway.radioproject.entities;

import struct.StructClass;
import struct.StructField;

@StructClass
public class BeanOfAutoCalibration {

//    TTE_CAlI_STATUS cmd_type; //参考：TTE_CAlI_STATUS
//    uint8_t freq;             // 0:1MHz 1:2MHz
//    uint16_t Vbus_Value;      //实际Vbus值x100
//    uint16_t Power_UVW;       //实际总功率值x1000
//    uint16_t Power_U;         //U相功率值x1000
//    uint16_t Power_V;         //V相功率值x1000
//    uint16_t Power_W;         //W相功率值x1000
//    uint16_t handle_ID;       //手柄ID信息，用于区分当前校准的是哪个手柄 0x021表示手柄1 0x031表示手柄2
//    uint16_t distance;        //针头位移距离 单位:um

    @StructField(order = 0)
    byte cmd_type;
    @StructField(order = 1)
    byte freq;           // 0:1MHz 1:2MHz
    @StructField(order = 2)
    short Vbus_Value;      //实际Vbus值x100
    @StructField(order = 3)
    short Power_UVW;       //实际总功率值x1000

    @StructField(order = 4)
    byte[] placeHolder = new byte[6];

    @StructField(order = 5)
    short handle_ID;

    public byte getCmd_type() {
        return cmd_type;
    }

    public void setCmd_type(byte cmd_type) {
        this.cmd_type = cmd_type;
    }

    public byte getFreq() {
        return freq;
    }

    public void setFreq(byte freq) {
        this.freq = freq;
    }

    public short getVbus_Value() {
        return Vbus_Value;
    }

    public void setVbus_Value(short vbus_Value) {
        Vbus_Value = vbus_Value;
    }

    public byte[] getPlaceHolder() {
        return placeHolder;
    }

    public void setPlaceHolder(byte[] placeHolder) {
        this.placeHolder = placeHolder;
    }

    public short getHandle_ID() {
        return handle_ID;
    }

    public void setHandle_ID(short handle_ID) {
        this.handle_ID = handle_ID;
    }

    public short getPower_UVW() {
        return Power_UVW;
    }

    public void setPower_UVW(short power_UVW) {
        Power_UVW = power_UVW;
    }
}
